//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a sample for BCGControlBar Library Professional Edition
// Copyright (C) 1998-2016 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions 
// of the accompanying license agreement.
//*******************************************************************************
//
// AnimationOptionsDlg.h : header file
//

#if !defined(AFX_ANIMATIONOPTIONSDLG_H__90BBB937_E562_4197_BF06_44227F5D52EE__INCLUDED_)
#define AFX_ANIMATIONOPTIONSDLG_H__90BBB937_E562_4197_BF06_44227F5D52EE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CAnimationOptionsDlg dialog

class CAnimationOptionsDlg : public CBCGPDialog
{
	DECLARE_DYNCREATE(CAnimationOptionsDlg)

// Construction
public:
	CAnimationOptionsDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CAnimationOptionsDlg)
	enum { IDD = IDD_ANIMATION_OPTIONS };
	CBCGPComboBox	m_wndAnimationType;
	CBCGPButton	m_wndShowAnimation;
	CBCGPSliderCtrl	m_wndDuration;
	CBCGPComboBox	m_wndAnimationStyles;
	int		m_nStyle;
	int		m_nType;
	CString	m_strDuration;
	BOOL	m_bIsPreview;
	int		m_nDuration;
	//}}AFX_DATA

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAnimationOptionsDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAnimationOptionsDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPreviewAnimation();
	afx_msg void OnReleasedcaptureDuration(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnShowAnimation();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	void SaveAnimationOptions();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ANIMATIONOPTIONSDLG_H__90BBB937_E562_4197_BF06_44227F5D52EE__INCLUDED_)
